package com.zhiyou100.model;

import lombok.*;
import org.springframework.stereotype.Component;

@ToString
@NoArgsConstructor
@AllArgsConstructor
@Component
@Setter @Getter
@EqualsAndHashCode
public class Video {

    private Integer id;

    private String title;

    private Integer time;

    private Integer spearkerId;

    private Integer courseId;

    private String videoUrl;

    private String imageUrl;

    private Integer playNum;

    private String detail;

    private Speaker speaker;

    private Course course;

   }